#pragma once

//#include "Satellite_common.h"
#include "Satellite.h"
#include <MyGIS_Common.h>
//#include "GroupNetwork.h"

#include <map>


class Satellites :
	public LayerPlugin,
	public EventHandler
{
public:
	Satellites(void) : LayerPlugin(LAYER_3D_SCENE){}// { _groupNetwork = NULL;}
	~Satellites(void);

	bool		initPlugin();

	string		getModuleName() { return "Satellite_Lib"; }
	void		handleSystemEvent( unsigned eventType, int param1, int param2 );
	void		handleCustomEvent( unsigned eventType, int param1, int param2 );

private:
	//GroupNetwork*			_groupNetwork;
	map<int, Satellite*>	_satellites;
	Group*					_group;
};

EXPORT_PLUGIN_FUNCTION
{
	return new Satellites;
};